package com.yuju.vo.group;

import java.util.Date;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.Length;
import com.yuju.common.fileld.validator.Rule.NonNull;

public class GuestInfoVO extends BaseVO{
	
	

	// 每页显示记录数
	@NonNull(message = "每页显示行数不能为空", serviceLine = "pager")
	public Integer pageSize;
	
	// 当前页码
	@NonNull(message = "页数不能为空", serviceLine = "pager")
	public Integer page;
	
   public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
		this.setRows(this.pageSize);
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}
	
	 /**
     *  主键。存储UUID，由应用生成。,所属表字段为grp_guestinfo.id
     */
	@NonNull(message = "主键不能为空", serviceLine = "update，del")
    private String id;

    /**
     *  名称。,所属表字段为grp_guestinfo.name
     */
	@NonNull(message = "用户账户不能为空", serviceLine = "save,update")
    private String name;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为grp_guestinfo.group_id
     */
    private String groupId;

    /**
     *  ,所属表字段为grp_guestinfo.mobile
     */
    @NonNull(message = "手机号不能为空", serviceLine = "save,update")
    @Length(max = 11,min=11,message = "预订电话必须是11位", serviceLine = "save,update")
    private String mobile;

    /**
     *  性别。1表示男，2表示女。,所属表字段为grp_guestinfo.gender
     */
    private Byte gender;

    /**
     *  出生日期。,所属表字段为grp_guestinfo.birth_date
     */
    private Date birthDate;

    /**
     *  证件类型。1身份证，2港澳通行证，3护照，4军官证，5其他证件。,所属表字段为grp_guestinfo.certificate_type
     */
    private Byte certificateType;

    /**
     *  证件编号。,所属表字段为grp_guestinfo.certificate_code
     */
    private String certificateCode;

    /**
     *  备注。,所属表字段为grp_guestinfo.remark
     */
    private String remark;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为grp_guestinfo.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为grp_guestinfo.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为grp_guestinfo.gmt_modified
     */
    private Date gmtModified;

    private static final long serialVersionUID = 1L;
    
    /**
     * 客人历史查询
     */
    private String myLikeEnd_name;
    
    private String myLikeEnd_mobile;
    

    public String getMyLikeEnd_name() {
		return myLikeEnd_name;
	}

	public void setMyLikeEnd_name(String myLikeEnd_name) {
		this.myLikeEnd_name = myLikeEnd_name;
	}

	public String getMyLikeEnd_mobile() {
		return myLikeEnd_mobile;
	}

	public void setMyLikeEnd_mobile(String myLikeEnd_mobile) {
		this.myLikeEnd_mobile = myLikeEnd_mobile;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Byte getGender() {
        return gender;
    }

    public void setGender(Byte gender) {
        this.gender = gender;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Byte getCertificateType() {
        return certificateType;
    }

    public void setCertificateType(Byte certificateType) {
        this.certificateType = certificateType;
    }

    public String getCertificateCode() {
        return certificateCode;
    }

    public void setCertificateCode(String certificateCode) {
        this.certificateCode = certificateCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", groupId=").append(groupId);
        sb.append(", mobile=").append(mobile);
        sb.append(", gender=").append(gender);
        sb.append(", birthDate=").append(birthDate);
        sb.append(", certificateType=").append(certificateType);
        sb.append(", certificateCode=").append(certificateCode);
        sb.append(", remark=").append(remark);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append("]");
        return sb.toString();
    }
}
